import React from 'react'
import {Route, Switch} from "react-router-dom"

import HelpMain from "./components/help-main/help-main"
import AccountIssue from "./components/account-issue/account-issue"
import Comment from "./components/comment/comment"

const HelpContainer = props => {

    const {match,} = props

    return (
        <Switch>
            <Route path={`${match.url}/`} exact component={HelpMain}/>
            <Route path={`${match.url}/account-issue`} component={AccountIssue} />
            <Route path={`${match.url}/comment`} component={Comment} />
        </Switch>
    )
}

export default HelpContainer
